import 'amfe-flexible'
import { createApp } from 'vue'
import './style/reset.css'
import { useRouter } from './router/index'
import { usePermission } from './router/permission'
import App from './App.vue'
import Box from './components/Box.vue'

const router = useRouter()
usePermission(router)

const app = createApp(App)
app.component('box', Box)
app.use(router)
app.mount('#app')

console.log(process.env)